package com.wanban.downloader.listener

import com.wanban.downloader.model.M3U8Seg
import java.io.File

interface OnDownloadTsListener {
    fun onProgressUpdate(currentLength: Int)
    fun onSuccess(ts: M3U8Seg, file: File)
    fun onCancel()
    fun onFail(ts: M3U8Seg, file: File, e: Throwable?)

}